home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / NeXTWORLD_DragLab / Controller.m < prev    next >
Text File  |  1995-06-12  |  607b  |  28 lines

  1. //
  2. //    A simple app delegate
  3. //    Greg Burd
  4. //        Copyright NeXT Computer, Inc 1992 All Rights Reserved
  5. //
  6. //    Created 7-9-92
  7. //
  8. //    You may freely copy, distribute and reuse the code in this example.
  9. //    NeXT disclaims any warranty of any kind, expressed or implied, as to
  10. //    its fitness for any particular use.
  11. //
  12.  
  13. #import "Controller.h"
  14. #import "DragView.h"
  15. #import <appkit/NXImage.h>
  16. #import <objc/NXBundle.h>
  17.  
  18. @implementation Controller
  19.  
  20. - appDidInit:sender
  21. {    
  22.     [initalDragView setImage:[[NXImage alloc] initFromSection:"Balls"]];
  23.     [[initalDragView window] makeKeyAndOrderFront:self];
  24.     return self;
  25. }
  26.  
  27. @end
  28.